<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>电子商城</title>
<link href="inc/style.css" rel="stylesheet" type="text/css" />
<link href="styles/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<%
  int flag = (int)request.getSession().getAttribute("flag");
  if (flag == 44)
    out.print("<script>alert('退货请求已发送!');window.close();</script>");
  else if (flag == 45)
    out.print("<script>alert('退货请求失败!')</script>");
  else if (flag == 46)
    out.print("<script>alert('退货请求已发送，无需再次申请!');window.close();</script>");
  else if (flag == 50)
    out.print("<script>alert('订单已关闭，无法操作!');window.close();</script>");
  request.getSession().setAttribute("flag", 0);
%>
 <div class="tuihuo">

<form id="memberModify_action" name="memberRegisterForm" onsubmit="return true;" action="" method="post">

		<table width="60%" border="0" cellspacing="0" cellpadding="0" align = "center">
          <tr>
            <td>
              <input name="orderId" value="${orderId}" style="display: none"/>
              <input name="address" value="${address}" style="display: none"/>
            </td>
          </tr>
  <tr>
    <td>退货理由
    </td>
    <td><textarea name="reason" rows="4" cols="30" id="memberModify_action_member_address"></textarea></td>
  </tr>
  <tr>
    <td><img   src="images/12.gif"   onclick="document.memberRegisterForm.submit();" style= "CURSOR:hand"/>
    </td>
    <td><img   src="images/13.gif"   onclick="document.memberRegisterForm.reset();" style= "CURSOR:hand"/></td>
  </tr>

</table>
      </form>
  </div>
</body>
</html>
